<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@include file="/white/common/common.jsp"%>
<%@include file="/white/common/taglibs.jsp"%>
<html>
	<head>
		<script type="text/javascript">
        
		$(function(){
			$("#regionName").dblclick(function(){
				window.open("<%=request.getContextPath()%>/nspFatallogCommuAssDayRegionSumAction!queryChannel.action",null,
						"width=300,height=500,toolbar=no,scrollbars=yes,resizable=no,status=no,location=no,top=152,left=225");
			});

		});

    </script>
	</head>
	<body onload="displayResult()">
		<s:form method="post" action="nspFatallogCommuAssDayRegionSumAction!queryByPage.action" theme="simple"
			id="searchForm">
			<div id="div_title">
				<h3>
					${classDisplayName}浏览: 通讯助理分省统计
				</h3>
				<div id="div_search">
					<table>
					   <tr>
						<!-- 查询条件 -->
						<!-- 查询条件 -->
						<td width="40" align="right">日期:</td>
						<td><s:textfield name="query_logDate" id="query_logDate"
								label="日期" size="8" maxlength="10"
								onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyyMMdd', minDate:'1900-01-01',maxDate:''})"></s:textfield>
							- <s:textfield name="query_logDate_end" id="query_logDate_end"
								label="日期" size="8" maxlength="10"
								onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyyMMdd', minDate:'1900-01-01',maxDate:''})"></s:textfield>
						</td>
						<td width="60" align="right">地区名称:</td>
						<td><s:textfield name="regionName" id="regionName"/></td>
						<td width="80" align="right"><authz:authorize
								ifAnyGranted="SMOOTH_ALL">
								<s:submit cssClass="submit_search" value="搜索"
									action="nspAbilityRequestDaySumAction!queryByPage" />
							</authz:authorize></td>
					</tr>
					</table>
				</div>
			</div>
			<!--列表 �?�� -->
			<table cellpadding="0" cellspacing="0" class="t_list">
					<tr>
				<th colspan="3" style="BORDER: #DC2913 1px solid;"></th>
				<th colspan="2" style="BORDER: #DC2913 1px solid;">查有</th>
				<th colspan="2" style="BORDER: #DC2913 1px solid;">查无</th>
			</tr>
				<!--列表头部 -->
				<th>日期</th>
				<th>地区代码</th>
				<th style="border-right: #DC2913 1px solid;">地区</th >
				<th>当日</th>
				<th style="border-right: #DC2913 1px solid;">累计</th>
				<th>当日</th>
				<th style="border-right: #DC2913 1px solid;">累计</th>
			</tr>
			<s:iterator value="resultList" status="sindex">
				<tr>
					<td><s:property value="LOG_DATE" /></td>
					<td><s:if test='REGION_CODE == null'>-</s:if>
					<s:else><s:property value="REGION_CODE" /></s:else></td>
					<td style="border-right: #DC2913 1px solid;"><s:if test='REGION_NAME == null'>-</s:if>
					<s:else><s:property value="REGION_NAME" /></s:else></td>
					<td><s:property value="NUM_DAY_COUNT" /></td>
					<td style="border-right: #DC2913 1px solid;"><s:property value="NUM_ALL_COUNT" /></td>
					<td><s:property value="NUMN_DAY_COUNT" /></td>
					<td style="border-right: #DC2913 1px solid;"><s:property value="NUMN_ALL_COUNT" /></td>
				</tr>
			</s:iterator>
			</table>
			<!--列表 结束 -->
			<!--分页 �?�� -->
			<s:if test="resultList.size() > 0">
				<table border="0" cellspacing="0" cellpadding="0" class="t_bottom">
					<tr>
						<td><%@include file="/white/common/pageList.jsp"%></td>
					</tr>
				</table>
			</s:if>
			<!--分页 结束 -->

		</s:form>
	</body>
</html>
